<?php

namespace App\Http\Controllers\Home\artinfo;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use DB;

class ArtinfoController extends Controller
{
    //
    public function index($cid)
    {
        $data = DB::table('categoryinfo')
             -> where('cid',$cid)
             -> first();
        // dd($data);
        return view('Home.artinfo.index', ['data' => $data]);
    }
}
